package cloud.xiangyixiang.www.spring.boot.java.basics.pojo.bo;

import java.io.Serializable;

/**
 * <p>
 * UserBo
 * </p>
 *
 * @author weixin
 * @date 2023/8/31 19:03
 */
public class UserBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    private String username;

    /**
     * 年龄
     */
    private Integer age;

    public UserBo(){

    }

    public UserBo(String username, Integer age){
        this.username = username;
        this.age = age;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserBo{" +
                "username='" + username + '\'' +
                ", age=" + age +
                '}';
    }
}
